package com.example.business_oa.service;

import com.example.comment_oa.dubbo.ChaGongZiDanDubbo;
import com.example.comment_oa.dubbo.ChaWuXianYiJinDubbo;
import com.example.comment_oa.pojos.xinzi.JibenGongzidan;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

@Service
public class ChaGongZiDanService {

    @DubboReference(version = "1.0.0")
    ChaGongZiDanDubbo chaGongZiDanDubbo;

    public int insertAllGongZiDan(JibenGongzidan jibenGongzidan){
        int i = chaGongZiDanDubbo.insertAllGongZiDan(jibenGongzidan);
        return i;
    }
}
